.TH std::pmr::memory_resource 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::pmr::memory_resource \- std::pmr::memory_resource

.SH Synopsis
   Defined in header <memory_resource>
   class memory_resource;               \fI(since C++17)\fP

   The class std::pmr::memory_resource is an abstract interface to an unbounded set of
   classes encapsulating memory resources.

.SH Member functions

   constructor           constructs a new memory_resource
   (implicitly declared) \fI(public member function)\fP
   destructor            destructs a memory_resource
   \fB[virtual]\fP             \fI(virtual public member function)\fP
   operator=             Implicitly declared copy assignment operator
   (implicitly declared) \fI(public member function)\fP
.SH Public member functions
   allocate              allocates memory
                         \fI(public member function)\fP
   deallocate            deallocates memory
                         \fI(public member function)\fP
   is_equal              compare for equality with another memory_resource
                         \fI(public member function)\fP
         Private member functions
   do_allocate           allocates memory
   \fB[virtual]\fP             (virtual private member function)
   do_deallocate         deallocates memory
   \fB[virtual]\fP             (virtual private member function)
   do_is_equal           compare for equality with another memory_resource
   \fB[virtual]\fP             (virtual private member function)

   Non-member-functions

   operator==         compare two memory_resources
   operator!=         \fI(function)\fP
   (removed in C++20)

.SH Notes

      Feature-test macro      Value    Std            Feature
   __cpp_lib_memory_resource 201603L \fI(C++17)\fP std::pmr::memory_resource
